package JavaStructure.Array;

import java.util.Arrays;

public class MyArrayList {
    public int[] array;
    public int size;

    //构造方法
    public MyArrayList() {
        array = new int[10];
    }
    public MyArrayList(int[] array) {
        this.array = Arrays.copyOf(array, array.length);
    }


}
